home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / maximus / stbar110.zip / STARHLP.BAT < prev    next >
DOS Batch File  |  1996-02-11  |  1KB  |  37 lines

  1. @echo off
  2. rem StarBar helper BAT file by fvu (2:292/600@fidonet.org), 14/11/95 00:19
  3. rem
  4. rem ========================================================================
  5. rem usage :
  6. rem Necessary parameters :
  7. rem first parameter : starbar work path
  8. rem second parameter : File to be examined
  9. rem third paramter : Task number for creating a "task-specific" descfile.
  10. rem ========================================================================
  11. rem
  12. rem CHANGE THE NEXT LINE TO REFLECT YOUR STARBAR PATH! !!IMPORTANT!!
  13. cd \max\starbar
  14. del %1descfile.%3
  15. gus %2 file_id.diz %1 /R /N /Q
  16. if not exist %1file_id.diz goto nodiz
  17. rem diz found, let's rename it!
  18. ren %1file_id.diz descfile.%3
  19. goto end
  20. :nodiz
  21. gus %2 sdn.id %1 /R /N /Q
  22. if not exist %1sdn.id goto nosdn
  23. ren %1sdn.id descfile.%3
  24. goto end
  25. :nosdn
  26. echo StarBar 1.10 was unable to extract more information > %1descfile.%3
  27. echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> %1descfile.%3
  28. echo No commonly used descriptor file could be found inside this archive >> %1descfile.%3
  29. echo Or the file is in a compressed format that's not (yet) supported by >> %1descfile.%3
  30. echo StarBar!. >> %1descfile.%3
  31. echo Or, the file isn't compressed at all.  Please check. >> %1descfile.%3
  32. goto end
  33. :usage
  34. echo !!!This batchfile should be used by starbar only!!!
  35. echo No user serviceable parts inside ;-) ;-)
  36. :end
  37.